package com.pengtu.gsj.dao.check.gcjs;

import java.util.List;


import org.springframework.stereotype.Repository;

import com.pengtu.gsj.dao.hibernate.HibernateDao;
import com.pengtu.gsj.entity.gcjs.CompletionAcceptance;

/**
 * 
 * CompletionAcceptanceDao
 * 
 * 2017年7月28日 下午2:24:56
 * 
 * @version 1.0.0
 * 
 */
@Repository
public class CompletionAcceptanceDao extends HibernateDao<CompletionAcceptance, String> {

	public List<CompletionAcceptance> getComAcceptProject() {
		String hql = "select new com.pengtu.gsj.entity.gcjs.CompletionAcceptance(t.projectName) from CompletionAcceptance t where t.delFlag='0' group by t.projectName order by t.projectName desc";
		return find(hql);
	}
}
